.messageItem{
    position: relative;
    padding:20px 10px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    &:nth-child(2n){
        background-color: #141723;
    }
    &.hasDesPos{
        padding-top: 35px;
    }
    .linkLine{
        position: absolute;
        width: 30px;
        height: 15px;
        border-top: 2px solid #586067;
        border-left: 2px solid #586067;
        left: 30px;
        top: 15px;
    }
    .aiLogo{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        img{
            width:100%;
        }
    }
    .aiMessageContent{
        position: relative;
        flex:1;
        padding-left: 20px;
        .authorInfo{
            width: calc(100vw - 350px);
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            margin-top: -30px;
            font-size: 12px;
            color:#7E868E;
            cursor: pointer;
            .headPic{
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background-color: #e1e1e1;
                overflow: hidden;
                img{
                    width: 100%;
                }
            }
            .name{
                padding-left: 5px;
                width: 55px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .authorText{
                flex: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
        h4{
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            strong{
                margin-right: 10px;
                color: #00D1FF;
                font-size: 16px;
                font-weight: 500;
            }
            span{
                margin-right: 10px;
            }
            .tag{
                width: 50px;
                height: 20px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 5px;
                background: #182342;
                font-size: 12px;
                color: #769CE5;
            }
            .date{
                color:#7E868E;
                font-size:12px;
                font-weight: normal;
            }
        }
        .presetsArea{
            display: flex;
            align-items: center;
            margin-top: -10px;
            flex-wrap:wrap;
            b{
                color: #D2DFEB;
                font-size: 14px;
                font-weight: 500;   
            }
            .rightPresets{
                display: flex;
                align-items: center;
            }
            span{
                font-size: 14px;
                font-weight: 400;
                color: #00D1FF;
                margin:0 7px;
                text-decoration: underline;
                cursor: pointer;
            }
            i{
                margin-left: 5px;
                color: #A5A3A4;
                cursor: pointer;
            }
        }
        .failContent{
            width: 340px;
            height: 90px;
            padding-left: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: #D2DFEB;
            font-size: 14px;
            font-weight: 700;
            box-sizing: border-box;
            border-radius: 5px;
            border-left: 5px solid #CF0505;
            background: #181F3B;
            p{
                margin:5px 0;
            }
            .reStart{
                text-decoration: underline;
                cursor: pointer;
            }
        }
        .textNeed{
            margin-bottom: 10px;
            color:#D2DFEB;
            font-size: 14px;
            font-weight: 500;
            line-height: 22px;
        }

        .waitingArea{
            width: 360px;
            .ant-progress-line{
                margin-bottom: 0;
                .ant-progress-bg{
                    height: 10px;
                }
            }
            .stateText{
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-top: 15px;
                .text{
                    font-size: 14px;
                    color: #7E868E;
                    font-weight: 500;
                }
                .cancelBtn{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 90px;
                    height: 32px;
                    background: #EF3964;
                    border-radius: 5px;
                    color: #fff;
                    font-size: 14px;
                    cursor: pointer;
                }
            }
        }

        .picArea{
            // .ant-image-preview-img{
            //     width: 600px;
            //     height: 600px;
            // }
            .picList{
                display: flex;
                align-items: center;
                .picItem{
                    position: relative;
                    margin-right: 20px;
                    width: 20%;
                    max-width: 200px;
                    border-radius: 5px;
                    cursor: pointer;
                    overflow: hidden;
                    &.synthesis{
                        .ant-image-mask{
                            display: none !important;
                        }
                    }
                    &:hover{
                        .coverArea{
                            display: flex;
                        }
                    }
                    .prohibit{
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background-color: #181F3B;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        z-index: 10;
                        i{
                            margin-bottom: 20px;
                            height: 48px;
                            font-size: 48px;
                            color: #4C5889;
                        }
                        span{
                            margin-bottom: 5px;
                            color: #7E868E;
                            font-size: 14px;
                            font-weight: 400;
                            &:nth-child(3){
                                font-size: 12px;
                            }
                        }
                    }
                    .pic{
                        .ant-image{
                            width: 100%;
                            display: block;
                        }
                        img{
                            width: 100%;
                            height: auto;
                        }
                    }
                    .coverArea{
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 50%, #000 100%);
                        display: flex;
                        align-items: flex-end;
                        justify-content: center;
                        padding-bottom: 15px;
                        box-sizing: border-box;
                        cursor: pointer;
                        display: none;
                        .ant-popover {
                            .ant-popover-arrow{
                                &:before{
                                    background: #455368;
                                }
                            }
                            .ant-popover-inner{
                                background-color: #455368;
                                padding: 5px 10px;
                                border-radius: 5px;
                                
                                .ant-popover-inner-content{
                                    color: #fff;
                                    font-weight: 500;
                                    font-size: 12px;
                                }
                            }
                        }
                        .btn{
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 80px;
                            height: 30px;
                            margin:0 5px;
                            border-radius: 5px;
                            background: rgba(217, 217, 217, 0.15);
                            color: #fff;
                            font-size: 14px;
                            font-weight: 500;
                            cursor: pointer;
                            
                        }
                    }
                }
            }
        }
    }
}